var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.spawnMobLimit(2400124, 1, -300, 182, 100);
            cm.spawnMobLimit(2400125, 1, -150, 182, 100);
            cm.spawnMobLimit(2400126, 1, 0, 182, 100);
            cm.spawnMobLimit(2400124, 1, 150, 182, 100);
            cm.spawnMobLimit(2400125, 1, 300, 182, 100);
            cm.spawnMobLimit(2400126, 1, 450, 182, 100);
            cm.spawnMobLimit(2400124, 1, 600, 182, 100);
            cm.spawnMobLimit(2400125, 1, 750, 182, 100);
            cm.spawnMobLimit(2400126, 1, -200, 182, 100);
            cm.spawnMobLimit(2400124, 1, -100, 182, 100);
            cm.spawnMobLimit(2400125, 1, 0, 182, 100);
            cm.spawnMobLimit(2400126, 1, 100, 182, 100);
            cm.spawnMobLimit(2400124, 1, 200, 182, 100);
            cm.spawnMobLimit(2400125, 1, 300, 182, 100);
            cm.spawnMobLimit(2400126, 1, 400, -28, 100);
            cm.fieldEffect_ScreenMsg("monsterPark/stageEff/final");
            cm.dispose()
        }
    }
};